<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>

</head>
<body>
<script>
    /*
        3.定位元素
        getElementById()
        getElementByTagName()
        
        6.文档写入
        document.write()
        document.writeln()  在末尾会在加入一个\n
        document.open()
        document.close()
        
     */
    document.write(
        `
        <ul>
            <li>1</li>
            <li>2</li>
            <li>3</li>
        </ul>
        `
    )
</script>
</body>
</html>